home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / gnulib / ghostscr / unix_b6z.mak < prev    next >
Encoding:
Text File  |  1990-12-31  |  2.0 KB  |  63 lines

  1. #    Copyright (C) 1990 Aladdin Enterprises.  All rights reserved.
  2. #    Distributed by Free Software Foundation, Inc.
  3. #
  4. # This file is part of Ghostscript.
  5. #
  6. # Ghostscript is distributed in the hope that it will be useful, but
  7. # WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  8. # to anyone for the consequences of using it or for whether it serves any
  9. # particular purpose or works at all, unless he says so in writing.  Refer
  10. # to the Ghostscript General Public License for full details.
  11. #
  12. # Everyone is granted permission to copy, modify and redistribute
  13. # Ghostscript, but only under the conditions described in the Ghostscript
  14. # General Public License.  A copy of this license is supposed to have been
  15. # given to you along with Ghostscript so you can know your rights and
  16. # responsibilities.  It should be in a file named COPYING.  Among other
  17. # things, the copyright notice and this notice must be preserved on all
  18. # copies.
  19.  
  20. # Partial makefile for Ghostscript, common to all Unix configurations.
  21.  
  22. # This is the last part of the makefile for Unix configurations.
  23. # Since Unix make doesn't have an 'include' facility, we concatenate
  24. # the various parts of the makefile together by brute force (in tar_gs).
  25.  
  26. # -------------------------------- Library -------------------------------- #
  27.  
  28. ## The Unix platform
  29.  
  30. PLATUNIX=gp_unix.$(OBJ)
  31.  
  32. gp_unix.$(OBJ): gp_unix.c
  33.  
  34. # -------------------------- Auxiliary programs --------------------------- #
  35.  
  36. ansi2knr$(XE):
  37.     $(CC) -o ansi2knr$(XE) $(CFLAGS) ansi2knr.c
  38.  
  39. genarch$(XE): genarch.c
  40.     $(CC) -o genarch$(XE) $(CFLAGS) genarch.c
  41.  
  42. # ----------------------------- Main program ------------------------------ #
  43.  
  44. # (Dummy) tracing package
  45.  
  46. utrace.$(OBJ): utrace.c cframe_.h
  47.  
  48. # Main program
  49.  
  50. ALLUNIX=gsmain.$(OBJ) utrace.$(OBJ) $(LIB) $(PLATUNIX) $(DEVICE_OBJS)
  51.  
  52. # Library test programs
  53.  
  54. GTUNIX=gt.$(OBJ) $(ALLUNIX)
  55. gt: $(GTUNIX)
  56.     $(CC) $(CFLAGS) $(LDPLAT) -o gt $(GTUNIX) $(EXTRALIBS) -lm
  57.  
  58. # Interpreter main program
  59.  
  60. GSUNIX=gs.$(OBJ) $(INT) $(ALLUNIX)
  61. gs: $(GSUNIX) $(INT2)
  62.     $(CC) $(CFLAGS) $(LDPLAT) -o gs $(GSUNIX) $(EXTRALIBS) -lm
  63.